Resource URL: /platform/<<version=3>>/protocols/smb/log-level/filters/<ID>

    Overview: This resource applies the standard collection item pattern to
              individual SMB log filters. ID in the resource path is the unique
              log filter ID.

     Methods: GET, DELETE

********************************************************************************

Method GET: View log filter.

       URL: GET /platform/<<version=3>>/protocols/smb/log-level/filters/<ID>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "filters": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "properties": {
              "ip_addrs": {
                "items": {
                  "type": "string"
                }, 
                "type": "array", 
                "description": "Array of client IP addresses to filter against."
              }, 
              "ops": {
                "items": {
                  "enum": [
                    "read", 
                    "write", 
                    "session-setup", 
                    "logoff", 
                    "flush", 
                    "notify", 
                    "tree-connect", 
                    "tree-disconnect", 
                    "create", 
                    "delete", 
                    "oplock", 
                    "locking", 
                    "set-info", 
                    "query", 
                    "close", 
                    "create-directory", 
                    "delete-directory"
                  ], 
                  "type": "string", 
                  "description": "Valid SMB operations to log"
                }, 
                "type": "array", 
                "description": "Array of SMB operations to filter against."
              }, 
              "id": {
                "type": "integer", 
                "description": "Unique ID of the log filter."
              }, 
              "level": {
                "enum": [
                  "ALWAYS", 
                  "ERROR", 
                  "WARNING", 
                  "INFO", 
                  "VERBOSE", 
                  "DEBUG", 
                  "TRACE", 
                  "always", 
                  "error", 
                  "warning", 
                  "info", 
                  "verbose", 
                  "debug", 
                  "trace"
                ], 
                "type": "string", 
                "description": "Logging level of the filter.", 
                "required": true
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}

********************************************************************************

Method DELETE: Delete log filter.

          URL: DELETE
               /platform/<<version=3>>/protocols/smb/log-level/filters/<ID>

There are no query arguments for this method.

There is no JSON response body for this method.
